package com.example.shop.service;

import javax.servlet.http.HttpSession;

import com.example.shop.pojo.User;
import com.example.shop.pojo.UserDto;
import com.example.shop.pojo.UserEducation;
import com.example.shop.utils.UserIdSession;



public interface UserService {

	/**
	 * 用户注册
	 */
	public String register(User user) throws Exception;
	
	/**
	 * 普通用户登录
	 * @return 
	 */
	public String login(User user);
	
	/**
	 * 用户信息认证
	 * @return 
	 */
	public String infoAuthentication(UserDto userDto);
	
	/**
	 * 用户信息认证1
	 * @return 
	 */
	public String infoAuthentication1(UserDto userDto);
	/**
	 * 用户信息认证2
	 * @return 
	 */
	public String infoAuthentication2(UserDto userDto);
	/**
	 * 用户信息认证3
	 * @return 
	 */
	public String infoAuthentication3(UserDto userDto);
	/**
	 * 用户信息认证4
	 * @return 
	 */
	public String infoAuthentication4(UserDto userDto);
	/**
	 * 用户信息认证5
	 * @return 
	 */
	public String infoAuthentication5(UserDto userDto);
	
	
	/**
	 * 用户更新信息
	 * 
	 */
	public String updateInfo(User user,Object code);
	/**
	 * 查询用户信息
	 */
	User selectUser(UserDto user);
}
